// 店铺

import request from '@/utils/request'
import R from '@/types/conduit/R'
import { ShopCategory } from '@/types/response/shop-category'

export const listAll = (): Promise<R<ShopCategory[]>> =>
  request({
    url: `/shop/shop-category/list`, // user是Controller类上的路径，login是方法上的路径
    method: 'GET'
  })
